package com.alameda.facade.user;

import com.alameda.statement.api.AdSystemRecordProvider;
import com.alameda.statement.enums.AdSystemRecordEnum;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Component;

/**
 * 移动端用户 接入层
 *
 * @author Lv
 * @date 2024/09/22
 */
@Component
public class ApUserFacade {

    @DubboReference
    private AdSystemRecordProvider adSystemRecordProvider;

    /**
     * 存储系统信息记录
     *
     * @param adSystemRecordEnum 系统记录类型
     * @return
     */
    public Boolean saveRecord(AdSystemRecordEnum adSystemRecordEnum) {
        return adSystemRecordProvider.saveRecord(adSystemRecordEnum);
    }
}
